From: Luc Teirlinck Date: Fri, 16 Jul 2004 18:37:19 +0000 (+0000) Subject: (Regexp Backslash): Document new \_< and \_> operators. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~21637 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=3f707ff6553a178905b2478971b9e44a0bd0efb2;p=emacs.git (Regexp Backslash): Document new \_< and \_> operators. From Jim Blandy. --- diff --git a/lispref/searching.texi b/lispref/searching.texi index 4a2703fd640..fd0d0e172a0 100644 --- a/lispref/searching.texi +++ b/lispref/searching.texi @@ -666,6 +666,19 @@ word-constituent character follows. matches the empty string, but only at the end of a word. @samp{\>} matches at the end of the buffer (or string) only if the contents end with a word-constituent character. + +@item \_< +@cindex @samp{\_<} in regexp +matches the empty string, but only at the beginning of a symbol. A +symbol is a sequence of one or more word or symbol constituent +characters. @samp{\_<} matches at the beginning of the buffer (or +string) only if a symbol-constituent character follows. + +@item \_> +@cindex @samp{\_>} in regexp +matches the empty string, but only at the end of a symbol. @samp{\_>} +matches at the end of the buffer (or string) only if the contents end +with a symbol-constituent character. @end table @kindex invalid-regexp